package com.itheima.d17_dianqi;


// 洗衣机类
public class Washing extends Electrical {
    private String motor_type;          // 电机类型
    private String washing_capacity;    // 洗涤容量

    public Washing() {
    }

    public Washing(String brand, String type, String color, String sales) {
        super(brand, type, color, sales);
    }

    public Washing(String motor_type, String washing_capacity) {
        this.motor_type = motor_type;
        this.washing_capacity = washing_capacity;
    }

    public Washing(String brand, String type, String color, String sales, String motor_type, String washing_capacity) {
        super(brand, type, color, sales);
        this.motor_type = motor_type;
        this.washing_capacity = washing_capacity;
    }

    public String getMotor_type() {
        return motor_type;
    }

    public void setMotor_type(String motor_type) {
        this.motor_type = motor_type;
    }

    public String getWashing_capacity() {
        return washing_capacity;
    }

    public void setWashing_capacity(String washing_capacity) {
        this.washing_capacity = washing_capacity;
    }
}
